package com.woniuxy.user.service;

import com.woniu.zsd.commons.core.model.Result;
import com.woniuxy.user.entity.UserLog;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.user.form.UserPasswordLoginForm;
import com.woniuxy.user.param.UserPasswordLoginParam;
import org.springframework.web.bind.annotation.RequestHeader;

/**
 * <p>
 * 用户操作日志表 服务类
 * </p>
 *
 * @author author
 * @since 2025-05-13
 */
public interface IUserLogService extends IService<UserLog> {
    //账号密码登录的日志记录没用token
    void logUserAction(Integer userId, String userName, String actionType, String actionDesc, Integer successFlag, String errorMsg);

    // 删除地址的日志记录
    void logDeleteAddressAction(String userId, String actionDesc, Integer successFlag, String errorMsg);

}
